const Router = require('koa-router')
const {upload} = require('../controller/common.controller')
const {auth} = require('../middleware/auth.middleware')
const router = new Router({ prefix: '/common' })

// 上传图片接口
router.post('/upload',auth,upload)

module.exports = router